package com.xiao.live.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiao.group.common.utils.PageUtils;
import com.xiao.group.common.utils.R;
import com.xiao.live.entity.LiveActicityEntity;

import java.util.Map;

/**
 * 直播的活动表
 *
 * @author 韩国涛
 * @email 2845009006@gmail.com
 * @date 2021-09-24 19:04:06
 */
public interface LiveActicityService extends IService<LiveActicityEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R togoodsList(Integer liveId);

    R toliveLists(Integer liveId);

    R toaddlist(Integer liveId, Integer goodsId);

    R toxia(Integer liveId, Integer goodsId);

    R tosave(LiveActicityEntity liveActicity);

    R tokaibo(Integer liveId);
}

